package submarines.logic;

import submarines.logic.interfaces.IGrid;
import submarines.logic.interfaces.IPlayer;

/**
 * @author Alon
 * 
 */
public abstract class PlayerBase implements IPlayer
{
	private String name;
	private IGrid grid;

	public PlayerBase(String name)
	{
		this.setName(name);
		this.grid = new Grid();
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name)
	{
		this.name = name;
	}

	@Override
	public String getName()
	{
		return name;
	}

	@Override
	public IGrid getGrid()
	{
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void selectSquare(Square square)
	{
		// TODO Auto-generated method stub

	}

	@Override
	public void unSelectSquare(Square square)
	{
		// TODO Auto-generated method stub

	}

	@Override
	public void bombSquare(Square square)
	{
		// TODO Auto-generated method stub

	}

}
